package com.sunlg.smarthome.contract;

import com.sunlg.smarthome.base.IBasePresenter;
import com.sunlg.smarthome.base.IBaseView;
import com.sunlg.smarthome.data.entity.Humidity;
import com.sunlg.smarthome.data.entity.Temperature;

import java.util.Date;
import java.util.List;

/**
 * Created by sunlg on 2017/5/12.
 */

public interface TempHumContract {
    interface View extends IBaseView{
        void showTempChart(List<Temperature> temperatureList);
        void showHumChart(List<Humidity> humidityList);
        void hideTempChart();
        void hideHumChart();
    }

    interface Presenter extends IBasePresenter<View>{
        void loadSectionTemp(int deviceId, Date start, Date end);
        void loadSectionHum(int deviceId, Date start, Date end);
    }

}
